@-webkit-keyframes spinner {
	from { -webkit-transform: rotateY(0deg);    }
	to   { -webkit-transform: rotateY(-360deg); }
}

#stage {
		position: absolute;
		top: 170px;
		left: 140px;
	   width: 340px;
		z-index: 5000;
		-webkit-perspective: 1200px;

		background: rgba(,0,0,0.0);
}

#spinner {
	   -webkit-animation-name: spinner;
		-webkit-animation-timing-function: linear;
		-webkit-animation-iteration-count: infinite;
		-webkit-animation-duration: 12s;
		-webkit-transform-style: preserve-3d;
		margin: 1px;
		padding-top: 40px;
		padding-left: 35px;
		padding-right: 15px;
		padding-bottom: 40px;
		border: 1px;
		border-radius: 17px;

		background: rgba(80,80,80,1.0);
		text-align: center; color: #fff;
	  	text-size: 30px;
}

#spinner:hover {
	   -webkit-animation-play-state: paused;
}


.collapsed_box {
	margin: 20px 20px 20px 20px;
}

.fixed_box {
	padding: 1px 1px 1px 1px;
/*	border: 1px solid yellow; */
	margin: 19px 19px 19px 19px;
}

.a {
	background: #808080;
}

.b {
	background: #A0A0A0;
}

.c {
	background: #E0E0E0;
}

.viewer_background {
	position: absolute;
	top: 0px;
	left: 0px;
	opacity: 0.8;
	z-index:0;
	background-color: #909090;
	/*
	padding-top: 20px;
	padding-left: 20px;	
	*/
}


.viewer_canvas {
	position: absolute;
	top: 0px;
	left: 0px;
	margin-top: 121px;
	margin-left: 0px;
	background-color: #646464;
	border-radius: 0px;
	z-index: 10;
	padding: 20px 200px 120px 20px;
	opacity: 1.0;
}


.toolbar {
	position: absolute;
	top: 12px;
	left: 30px;
	width: 640px;
/*	z-index: 800; */
	z-index: -800; // This is added to move the toolbar in the brackground so that the ribbon can be accessed
/*	opacity: 1; */
	opacity: 0; // changed this to get rid of toolbar items
}

.toolbar-item {
	float: left;
	opacity: 0.0; // changed this to get rid of toolbar items
	z-index: 1000;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
}

.toolbar-item-hover:hover {
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
}

div.toolbar-item-info-box {
	text-align: center;
	border-radius: 8px;
	border: 2px solid #909090;
	margin-top: 9px;
	margin-left: 12px;
	margin-right: 12px;
	padding: 8px;
	background-color: #b3b3b3;
	width: 56px;
	height: 24px;
}

/* This si the slow growing box */
div.showbox {
	position: absolute;
	float:center;
	top: 50px;
	left: 301px;
	margin: 1px;
	border: 5px solid gray;
	padding-top: 19px;
	background-color: #b3b3b3;
	border-radius: 18px;
	width: 80px;
	height: 50px;
	text-align: center;
	text-height: 60px;
	-webkit-transition: all 1s ease-in-out;
	z-index: 2500;
}

div.starter {
	float:center;
	margin: 1px;
	border: 5px solid #828282;
	padding-top: 19px;
	padding-left: 9px;
	padding-right: 9px;
	background-color: #b3b3b3;
	border-radius: 18px;
	width: 80px;
	height: 50px;
	text-align: center;
	text-height: 60px;
	-webkit-transition: all 1s ease-in-out;
	z-index: 2500;
}

div.scale:hover {
	-webkit-transform: scale(2);
	-moz-transform: scale(2);
}

/* Document loading style */
div.loading {
	position: absolute;
	float:center;
	top: 90px;
	left: 70px;
	margin: 10px;
	padding-top: 19px;
	border-radius: 11px;
	width: 450px;
	height: 69px;
	text-align: center;
	text-height: 60px;
	text-color: blue;
	z-index: 2500;
}

div.loading_red {
	border: 7px solid #FD9681;
	background-color: #FDB6A1;
	height: 69px;
	text-align: left;
}

div.loading_blue {
	border: 7px solid #B2C6FD;
	background-color: #D2E6FD;
}

div.loading_white {
	background-color: rgba(255,255,255,0.0);
	border: none;
	width: 180px;
	left: 196px;
	top: 60px;
}

div.loading_gray {
	left: 1px;
	padding-top: 5px;
	border: 7px solid gray;
	background-color: #D9D8DF;	
	height: 100px;
	width: 360px;	
	text-align: left;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 95%;
	padding-left: 5px;
	padding-right: 5px;
}
